<template>
        <div v-html="jddy" class="classic-movies-list"></div>
</template>

<script>
import axios from "axios";
export default {
  name: "classic",
  data: function () {
    return {
      jddy: "",
    };
  },
  mounted() {
    axios
      .get(
        "/ajax/moreClassicList?sortId=1&showType=3&limit=10&offset=10&optimus_uuid=EE2E3CD0C90111EB994EDD996AAFB489066321E8E0F94AC7B29985642B8BE655&optimus_risk_level=71&optimus_code=10"
      )
      .then((res) => {
        this.jddy = res.data;
      });
  },
};
</script>
<style>
/* 如果使用v-html获取后台排好版的数据字符串，在写样式的时候，需要将scoped删除 或不删 在加上>>>.top-rated */

.classic-movies {
    background-color: #fff;
    padding-top: 14.5px;
}
.classic-movies a {
    text-decoration: none;
    display: block;
    color: #666;
}
.classic-movie {
    position: relative;
    margin: 0 0 20px 20px;
    display: -webkit-box;
    display: flex;
    -webkit-box-align: start;
    align-items: flex-start;
}
.avatar {
    display: inline-block;
}
.avatar img {
    width: 66px;
    height: 94px;
}
.movie-info {
    margin-left: 10px;
    display: inline-block;
    font-size: 13px;
    line-height: 18px;
    color: #666;
    height: 100%;
    -webkit-box-flex: 1;
    flex: 1;
    overflow: hidden;
}
.classic-movie .movie-info .title {
    font-size: 17px;
    line-height: 24px;
    color: #333;
    font-weight: 700;
}
.movie-info>div {
    margin-bottom: 4px;
}
.line-ellipsis {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.movie-score {
    width: 60px;
    height: 17px;
    font-size: 12px;
    color: #999;
    line-height: 17px;
    display: inline-block;
    text-align: center;
}
.grade {
    color: #faaf00;
    font-size: 15px;
}



</style>